<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

namespace Database\Seeders;

use App\Models\LookofVillage;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Redis;

class LookofVillageSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        Redis::set('look_of_village_banner', 'https://image.hanlingsha.love/lwa/banner/2021-07-11/291ABC7F-38C5-4220-AE81-E40A5CCC8105.png');
        LookofVillage::factory()->times(20)->create();
    }
}
